import DefaultParam from '../../common/DefaultParam';

class ResearchIssueFeedbackParam extends DefaultParam {
  constructor(data, files = [], isSaveFile = true) {
    super(data, files, isSaveFile);
  }

  /**
   * 保存数据格式化
   * @param {*} data
   * @returns
   */
  setData() {
    const { data } = this;
    return {
      ...this.getDefaultParam(),
      // 联系人
      contactser: data.contract,
      // 联系电话
      telphone: data.contractPhone,
      // 会签部门
      signDept: data.countersign,
    };
  }
}
export default ResearchIssueFeedbackParam;
